﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Model.Entities;

namespace Model.Mappings
{
    public partial class RBMT_STATIONS_FACTION_Map : ClassMap<RBMT_STATIONS_FACTION>
    {
        public RBMT_STATIONS_FACTION_Map()
        {
            Table("RBMT_STATIONS_FACTION");
            Id(x => x.GUID)
                .Length(36);

            Map(x => x.FACTION_NAME).Nullable().Length(100);
            Map(x => x.DESCRIPTION).Not.Nullable().Length(512);
            DoEditableMappings();
        }
    }
}
